<?php

class InscricaoController extends Zend_Controller_Action
{

     public function init() {
        if (!Zend_Auth::getInstance()->hasIdentity()) {
            return $this->_helper->redirector->goToRoute(array('controller' => 'index'), null, true);
        }
    }

    public function indexAction() {
        $usuario = Zend_Auth::getInstance()->getIdentity();
        $this->view->usuario = $usuario;
        $this->_helper->layout->disableLayout();
        // PARA REMOVER LAYOUT
    }


}

